var express = require('express');

var app = express();


var userRouter = require('./router/userRouter.js')

app.use(express.static('static'))

app.use(express.json());

app.use(express.urlencoded({
    extended: false
}))



app.use('/user',userRouter)



app.listen(8080, () => {console.log('服务器运行在:http://localhost:8080'); })